<!DOCTYPE html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="./css/index.css" />
</head>

<body>
    <h1>HTML &lt;span&gt; 标签</h1>

    <h2>定义与用法</h2>

    <h3>参考链接</h3>
    <p><a target="_blank" href="https://www.w3school.com.cn/tags/tag_span.asp">HTML &lt;span&gt; 标签</a></p>

    <h3>摘抄</h3>
    <p>&lt;span&gt; 标签被用来组合文档中的行内元素，以便通过样式来格式化它们。</p>


    <h3>示例</h3>

    <h4>展示效果</h4>

    <p><span>some text.</span>some other text.</p>

    <h4>具体代码</h4>
    <pre>
&lt;p&gt;&lt;span&gt;some text.&lt;/span&gt;some other text.&lt;/p&gt;
    </pre>
</body>

</html>